package cn.edu.ujn.park.dao;

import cn.edu.ujn.park.dao.Equipment;

import java.util.List;

public interface EquipmentMapper {
    int deleteByPrimaryKey(Integer equipmentId);

    int insert(Equipment row);

    int insertSelective(Equipment row);

    Equipment selectByPrimaryKey(Integer equipmentId);

    int updateByPrimaryKeySelective(Equipment row);

    int updateByPrimaryKey(Equipment row);

    List<Equipment> selectAll();

    List<Equipment> selectAll1(Equipment equipment);

    List<Equipment> selectByName(Equipment equipment);

    Integer selectCountByName(String equipmentName);

    Integer selectCount();

    int updateByPrimaryKey1(Equipment equipment);
}